<?php
class I18NTag extends BaseTag {
	
	/**
	 * @regexp lang[[:blank:]]*\([[:blank:]]*(\w+)[[:blank:]]*\)[[:blank:]]*\/> 
	 */
	public function lang($matches) {
		return Localizator::getInstance ()->getMessage ( $matches [1] );
	}

}
?>